<?php $this->headLink()->appendStylesheet(Ac_Util::getImageBaseUrl('/css/campaign/domestic-helper.v-'.AC_VERSION.'.css'))?>
<?php $this->placeholder('container-class')->set('')?>
<?php $this->placeholder('big-section-class')->set('grid_12 main main_section') ?>
<?php $this->placeholder('grid-size')->set('12');?>

<div class="success">
	<h1><?php echo $this->t('Thank You!')?></h1>
	<p><?php echo $this->t('Your Profile has been Posted successfully! You are also now entered to WIN monthly prizes!')?></p>
	<p><?php echo $this->t('Campaign ends June 30, 2011. Winners will be contacted by email.')?></p>
    <p><?php echo $this->t('Mobile top-up prizes awarded monthly. The grand prize of one round trip flight will be awarded in June 2011.')?></p>
	<div class="facebook">
	<h2><span><?php echo $this->t('Like AsiaClassified')?></span></h2>
	<p><?php echo $this->t('"Like" AsiaClassified to receive timely updates on great offers and prize WINNERS.')?></p>
	<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fasiaclassified&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" style="background:transparent;border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
	</div>
	<div class="categories">
      <h2><span><?php echo $this->t('Browse over 40,000 Ads now')?></span></h2>
       <ul>
            <?php
                foreach ($this->list as $cat) {
                    switch($cat->id) {
                        case 'mc49':
                            $photo = 'property';
                            break;
                        case 'mc50':
                            $photo = 'home';
                            break;
                        case 'mc55':
                            $photo = 'car';
                            break;
                        case 'mc51':
                            $photo = 'clothe';
                            break;
                        case 'mc56':
                            $photo = 'pet';
                            break;
                        case 'mc63':
                            $photo = 'community';
                            break;
                        case 'mc76':
                            $photo = 'parking';
                            break;
                        case 'mc73':
                            $photo = 'electronics';
                            break;
                        case 'mc59':
                            $photo = 'job';
                            break;
                        case 'mc52':
                            $photo = 'business';
                            break;
                        case 'mc60':
                            $photo = 'personal2';
                            break;
                        case 'mc77':
                            $photo = 'domestic';
                            break;
                        case 'mc69':
                            $photo = 'adult';
                            break;
                        case 'mc74':
                            $photo = 'health';
                            break;
                        case 'mc57':
                            $photo = 'toy';
                            break;
                        case 'mc71':
                            $photo = 'food';
                            break;
                        case 'mc67':
                            $photo = 'antique';
                            break;
                        case 'mc75':
                            $photo = 'sport';
                            break;
                        case 'mc68':
                            $photo = 'art';
                            break;
                        case 'mc61':
                            $photo = 'travel';
                            break;
                    }
                    ?>
                    <li>
                        <a href="<?php echo $cat->url()?>"><img src="<?php echo Ac_Util::getImageBaseUrl('/images/homepage/index_category_'. $photo.'.jpg')?>" /><?php echo $this->t($cat->nm_en)?></a>
                    </li>
                <?php }                
            ?>
        </ul>
    </div>
</div>

